package util;

import com.localytics.android.LocalyticsSession;
import csf.getmoney.BasicInfo;
import android.content.Context;

public class Localtics {

	Context context;
	LocalyticsSession localyticsSession;

	public Localtics(Context context) {
		this.context = context;
	}

	public void sendLocal(String strEventName){
		
		this.localyticsSession = new LocalyticsSession(context, BasicInfo.LOCALYTICS_APP_KEY);
		this.localyticsSession.open();
		localyticsSession.tagEvent(strEventName);
		this.localyticsSession.upload();
		this.localyticsSession.close();
		
	}

}
